const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  env: state => state.user.env,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  roles: state => state.user.roles,
  permission_roles: state => state.user.permissionRoles,
  permission_routes: state => state.permission.routes,
  channels: state => state.user.channels,
  gameId: state => state.user.gameId
}
export default getters
